package com.inforich.projectManage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.inforich.projectManage.domain.Project;

/**
 * 项目Mapper接口
 *
 * @author hjm
 * @date 2022-10-22
 */
@Mapper
public interface ProjectMapper extends BaseMapper<Project> {

  /**
   * 分页列表
   */
  Page<Project> pageProject(Page<Project> page, @Param("map") Map<String, Object> map);

  /**
   * 列表
   */
  List<Project> listProject(@Param("map") Map<String, Object> map);

  Project selectProjectById(String id);

  int insertProject(Project project);

  int updateProject(Project project);
}
